package com.lin.services;

import com.lin.pojo.Role;

import java.util.List;
import java.util.Map;

public interface AuthorityService {
    List<Role> getRoleInfo();

    Map<String, Object> getAuthorityByRoleId(Role role);

    Map<String, Object> updateRoleAuthority(String roleId, String checkedBox,String roleName);

    Map<String, Object> deleteRoleById(String roleId);

    Map<String, Object> insertRole(String roleName, String authority);
}
